home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cdplay
/
aboutcd.frm
next >
Wrap
Text File
|
1995-05-07
|
5KB
|
166 lines
VERSION 2.00
Begin Form About
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "About CD Player"
ClientHeight = 2880
ClientLeft = 3795
ClientTop = 3660
ClientWidth = 4395
ClipControls = 0 'False
Height = 3285
KeyPreview = -1 'True
Left = 3735
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2880
ScaleWidth = 4395
Top = 3315
Width = 4515
Begin SSCommand Command3D1
Caption = "OK"
Font3D = 0 'None
Height = 615
Left = 240
TabIndex = 1
Top = 2160
Width = 3735
End
Begin SSPanel AboutPanel
Alignment = 8 'Center - BOTTOM
BackColor = &H00C0C0C0&
BevelInner = 1 'Inset
BevelOuter = 1 'Inset
Font3D = 0 'None
Height = 1935
Left = 120
TabIndex = 0
Top = 120
Width = 4095
Begin PictureBox PicLogo
AutoSize = -1 'True
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 615
Left = 720
ScaleHeight = 615
ScaleWidth = 2535
TabIndex = 7
Top = 120
Width = 2535
Begin Label lblLogo
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "CD Player"
FontBold = -1 'True
FontItalic = -1 'True
FontName = "MS Serif"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00C00000&
Height = 525
Index = 0
Left = 0
TabIndex = 4
Top = 0
Width = 2415
End
Begin Label lblLogo
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "CD Player"
FontBold = -1 'True
FontItalic = -1 'True
FontName = "MS Serif"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 525
Index = 1
Left = 0
TabIndex = 5
Top = 30
Width = 2415
End
End
Begin PictureBox Picture1
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 495
Index = 1
Left = 3435
Picture = ABOUTCD.FRX:0000
ScaleHeight = 495
ScaleWidth = 495
TabIndex = 6
Top = 150
Width = 495
End
Begin PictureBox Picture1
BackColor = &H00C0C0C0&
BorderStyle = 0 'None
Height = 495
Index = 0
Left = 165
Picture = ABOUTCD.FRX:0302
ScaleHeight = 495
ScaleWidth = 495
TabIndex = 3
Top = 120
Width = 495
End
Begin Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Height = 195
Left = 3960
TabIndex = 2
Top = 1680
Width = 75
End
End
End
Option Explicit
Sub Command3D1_Click ()
Unload Me
End Sub
Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
If KeyCode = 27 Then Unload Me
End Sub
Sub Form_Load ()
Dim Message As String
Dim CRLF As String
CRLF = Chr$(13) & Chr$(10)
CenterForm About, False
CenterLogo Me, AboutPanel
Message = MCI_APP_TITLE & CRLF
Message = Message & Version & CRLF
Message = Message & "Brought to you by" & CRLF & CRLF
Message = Message & "MICROSOFT CORP C1994"
AboutPanel.Caption = Message
If CDForm.mnuOptionsItem(2).Checked Then OnTop CDForm
End Sub
Sub Form_Unload (Cancel As Integer)
If CDForm.mnuOptionsItem(2).Checked Then OnTop Me
End Sub
Sub Label1_Click ()
Dim CRLF As String
CRLF = Chr$(13) & Chr$(10)
AboutPanel = "Programmed By" & CRLF
AboutPanel = AboutPanel & "James Bettone" & CRLF
AboutPanel = AboutPanel & "1994"
End Sub